package com.example.albumtype.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.albumtype.entity.Albumtype;
import com.example.albumtype.mapper.AlbumtypeMapper;
import com.example.albumtype.service.IAlbumtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 贾明祯
 * @ClassName AlbumtypeServiceImpl
 * @Date 2020/9/22 9:14
 * @Introduce
 */
@Service
public class AlbumtypeServiceImpl implements IAlbumtypeService {
    @Autowired
    private AlbumtypeMapper albumtypeMapper;

    @Override
    public List<Albumtype> listAlbumtype() {
        QueryWrapper<Albumtype> qw = new QueryWrapper<>();
        return albumtypeMapper.selectList(qw);
    }
}
